package com.acmen.easyapi.util;

import org.springframework.core.LocalVariableTableParameterNameDiscoverer;

import java.lang.reflect.Method;

/**
 * 方法参数名发现者
 * @author acmen
 *
 */
public class ParamNameDiscoverer {
    private static LocalVariableTableParameterNameDiscoverer discoverer = new LocalVariableTableParameterNameDiscoverer();

    public static String[] getParameterNames(Method method){
        return discoverer.getParameterNames(method);
    }
}
